package org.cardcopier;

import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class ApplicationConfig {

    // Set all the fields to suitable defaults
    private String destinationDirName  = System.getProperty("user.dir");
    private String sourceDirName  = System.getProperty("user.dir");
    private String[] fileExtensionsToCopy = new String[]{ "cr2", "jpg" };
    private boolean caseSensitive = false;
    private String destinationSubDirFormat = "%d{yyyy-MM-dd}-%n";
    private boolean deleteSourceFileAfterCopy = false;
    private String event = "Event";

    public ApplicationConfig() {
    }
    
    public String getDestinationDirName() {
            return destinationDirName;
    }

    public void setDestinationDirName(String destinationDirName) {
            this.destinationDirName = destinationDirName;
    }

    public String getSourceDirName() {
            return sourceDirName;
    }

    public void setSourceDirName(String sourceDirName) {
            this.sourceDirName = sourceDirName;
    }

    public String[] getFileExtensionsToCopy() {
            return fileExtensionsToCopy;
    }

    public void setFileExtensionsToCopy(String[] fileExtensionsToCopy) {
            this.fileExtensionsToCopy = fileExtensionsToCopy;
    }

    public String getDestinationSubDirFormat() {
            return destinationSubDirFormat;
    }

    public void setDestinationSubDirFormat(String destinationSubDirFormat) {
            this.destinationSubDirFormat = destinationSubDirFormat;
    }        

    public boolean getDeleteSourceFileAfterCopy() {
        return deleteSourceFileAfterCopy;
    }

    public void setDeleteSourceFileAfterCopy(boolean deleteSourceFileAfterCopy) {
        this.deleteSourceFileAfterCopy = deleteSourceFileAfterCopy;
    }

    public String getEvent() {
        return event;
    }

    public void setEvent(String event) {
        this.event = event;
    }

}
